using MicroMsg.UI.Util;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
namespace MicroMsg.UI.Page
{
	public class BarCodeDemoMainPage : BasePage
	{
		internal Grid LayoutRoot;
		internal Button btnScan;
		internal Button btnMake;
		private bool _contentLoaded;
		public BarCodeDemoMainPage()
		{
			this.InitializeComponent();
		}
		private void btnScan_Click(object sender, RoutedEventArgs e)
		{
			base.GoToPage("/Source/UI/BarCodeTool/ScanQRCode.xaml", null, false);
		}
		private void btnMake_Click(object sender, RoutedEventArgs e)
		{
			base.GoToPage("/Source/UI/BarCodeTool/MakeBarCode.xaml", null, false);
		}
		[DebuggerNonUserCode]
		public void InitializeComponent()
		{
			if (this._contentLoaded)
			{
				return;
			}
			this._contentLoaded = true;
			Application.LoadComponent(this, new Uri("/MicroMsg;component/Source/UI/BarCodeTool/BarCodeDemoMainPage.xaml", 2));
			this.LayoutRoot = (Grid)base.FindName("LayoutRoot");
			this.btnScan = (Button)base.FindName("btnScan");
			this.btnMake = (Button)base.FindName("btnMake");
		}
	}
}
